package cn.kgc.tangcco.liahozhe.spring.e_anno01;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component
public class UserServiceImpl implements UserService {
	@Autowired
	private UserDao userDao;

	@Override
	public void addUser() {
		userDao.insertUser();
	}

}
